package com.cn.lp.jpa.cq.domain;

import com.cn.lp.jpa.cq.CQLogicalType;
import com.cn.lp.jpa.cq.CQOrderType;

/**
 * Created by on 2019/8/7.
 */
public class CQOrderSign {

    private CQField field;

    private CQOrderType orderType;

    public static CQOrderSign of (CQField field, CQOrderType orderType) {
        CQOrderSign orderSign = new CQOrderSign();
        orderSign.field = field;
        orderSign.orderType = orderType;
        return orderSign;
    }

    public CQField getField() {
        return field;
    }

    public CQOrderType getOrderType() {
        return orderType;
    }
}
